package cn.com.guage.dtm.stat.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.com.guage.dtm.common.annotation.Excel;
import cn.com.guage.dtm.common.core.domain.BaseEntity;

/**
 * 数据迁移报告对象 stat_trans_report
 * 
 * @author yangdechao
 * @date 2021-07-22
 */
public class StatTransReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 迁移报告id */
    private Long transReportId;

    /** 转换轮次代码 */
    @Excel(name = "转换轮次代码")
    private String transTurnCode;

    /** 目标系统id */
    @Excel(name = "目标系统id")
    private Long sysId;

    /** 目标系统代码 */
    @Excel(name = "目标系统代码")
    private String sysCode;

    /** 目标系统名称 */
    @Excel(name = "目标系统名称")
    private String sysName;

    /** 环境id */
    @Excel(name = "环境id")
    private Long envId;

    /** 环境代码 */
    @Excel(name = "环境代码")
    private String envCode;

    /** 环境名称 */
    @Excel(name = "环境名称")
    private String envName;

    /** 迁移耗时 */
    @Excel(name = "迁移耗时")
    private Long transTime;

    /** 迁移开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "迁移开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date transBeginTime;

    /** 迁移结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "迁移结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date transEndTime;

    public void setTransReportId(Long transReportId) 
    {
        this.transReportId = transReportId;
    }

    public Long getTransReportId() 
    {
        return transReportId;
    }
    public void setTransTurnCode(String transTurnCode) 
    {
        this.transTurnCode = transTurnCode;
    }

    public String getTransTurnCode() 
    {
        return transTurnCode;
    }
    public void setSysId(Long sysId) 
    {
        this.sysId = sysId;
    }

    public Long getSysId() 
    {
        return sysId;
    }
    public void setSysCode(String sysCode) 
    {
        this.sysCode = sysCode;
    }

    public String getSysCode() 
    {
        return sysCode;
    }
    public void setSysName(String sysName) 
    {
        this.sysName = sysName;
    }

    public String getSysName() 
    {
        return sysName;
    }
    public void setEnvId(Long envId) 
    {
        this.envId = envId;
    }

    public Long getEnvId() 
    {
        return envId;
    }
    public void setEnvCode(String envCode) 
    {
        this.envCode = envCode;
    }

    public String getEnvCode() 
    {
        return envCode;
    }
    public void setEnvName(String envName) 
    {
        this.envName = envName;
    }

    public String getEnvName() 
    {
        return envName;
    }
    public void setTransTime(Long transTime) 
    {
        this.transTime = transTime;
    }

    public Long getTransTime() 
    {
        return transTime;
    }
    public void setTransBeginTime(Date transBeginTime) 
    {
        this.transBeginTime = transBeginTime;
    }

    public Date getTransBeginTime() 
    {
        return transBeginTime;
    }
    public void setTransEndTime(Date transEndTime) 
    {
        this.transEndTime = transEndTime;
    }

    public Date getTransEndTime() 
    {
        return transEndTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("transReportId", getTransReportId())
            .append("transTurnCode", getTransTurnCode())
            .append("sysId", getSysId())
            .append("sysCode", getSysCode())
            .append("sysName", getSysName())
            .append("envId", getEnvId())
            .append("envCode", getEnvCode())
            .append("envName", getEnvName())
            .append("transTime", getTransTime())
            .append("transBeginTime", getTransBeginTime())
            .append("transEndTime", getTransEndTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}